<template>
    <div style="width: 100vw; height: 100vh;overflow: hidden;">

        <iframe src="/static/index.html" frameborder="0" style="width: 100%; height: 100%; overflow: hidden;"></iframe>
    </div>
</template>
<script>
export default {
    data() {
        return {};
    },
    props: {},
    components: {},
    methods: {},
    mounted() {
        window.addEventListener("message", async (event) => {
            console.log(event, 'event')
            if (event.data.login) {
                this.$router.push('/Login');
            }
        })
    },
    created() { },
    computed: {},
    watch: {},
};
</script>
<style lang='less' scoped></style>